package com.mh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Date:2025/3/15
 * author:zmh
 * description: MongoDB数据对应实体类
 **/


@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "garbage_recognition")
public class GarbageResult {
    @Id
    private String id;
    private String result; // 垃圾类型
    private String extraInfo; // 分类依据
    private String item; // 分类物品
    private Boolean state; // 识别状态
}
